﻿using HPIT.RentHouse.Common;
using RentHouse.DTO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RentHouse.IService
{
    public interface IIdNameService: IServiceSupport
    {
        //根据类型名获取数据字典集合
        List<IdNameDTO> GetIdNameList(IdNameEnum typeName);

        //根据Id获取对应的名字
        string GetName(long id);
    }
}
